package welsir.entity.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * @author welsir
 * @date 2023/3/8 0:26
 */
@Data
@Slf4j
@TableName("seeding")
@AllArgsConstructor
@NoArgsConstructor
public class Seeding {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String type;
    private float price; //不应该用浮点类型
    private String picture;
    private String name;
    @TableField(value = "seeding_description")
    private String seedingDescription;

}
